from dataclasses import dataclass


@dataclass
class TestingEnvironment:
    """"测试环境"""
    HOST='http://124.70.39.201'
    USERNAME=''
    PASSWORD=''
    DB={}

@dataclass
class TestingEnvironment2:
    pass

@dataclass
class TestingEnvironment3:
    pass

ENV_MAP={
    '测试环境':TestingEnvironment,
    '预发布环境':TestingEnvironment2,
    '开发环境':TestingEnvironment3,
}
ENV_NAME='测试环境'
ENV=ENV_MAP[ENV_NAME]()
# print(ENV.HOST)
